/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package arr;
import java.util.*;
/**
 *
 * @author Matrix
 */
public class Arrs {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Random rand = new Random(47);
        int[] arr = new int[rand.nextInt(20)];

        for (int i=0; i<arr.length; i++) {
            arr[i]=rand.nextInt(500);
        }
        System.out.println(Arrays.toString(arr));
    }

}
